package com.zzw.service.impl;

import com.zzw.dao.PerformanceDao;
import com.zzw.pojo.Performance;
import com.zzw.service.PerformanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class PerformanceServiceImpl implements PerformanceService {
    @Autowired
    private PerformanceDao performanceDao;
    @Override
    public List<Performance> getReportData() {
        List<Performance> list = performanceDao.findAll();
        return list;
    }
}
